Skip to content

Clear flags and avoid leaks in RBL handling#12

Open
mannfredcom wants to merge 1 commit intomainfrom
import/rbl-handler-fixes
Open

Clear flags and avoid leaks in RBL handling#12
mannfredcom wants to merge 1 commit intomainfrom
import/rbl-handler-fixes

Conversation

@mannfredcom
Copy link
Owner

Ensure RBL address-family flags are cleared when disabled, and free prior RBL answer/reason strings before replacing them to avoid leaks. Also skip DNSBL lookups when rbl_string fails to build a valid query hostname, preventing use of uninitialized buffers or truncated hostnames.

mannfredcom pushed a commit that referenced this pull request Feb 6, 2026
Fix receive/send mixup in stats ? output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant